// 引入请求
import request from './request.js'
// 
const QYUrlHeadr = 'http://qy.ccuer.cn:3001'
// const QYUrlHeadr = 'http://127.0.0.1:3001'
let api = {}
//接口示例
api.oldImg = data => request.post(QYUrlHeadr + '/draw/oldImg', data)
api.changeBg = data => request.post(QYUrlHeadr + '/draw/changeBg', data)
api.nianTu = data => request.post(QYUrlHeadr + '/draw/niantu', data)


api.get = data => request.get(data)



export default api;